package com.macro.mall.model;

import java.io.Serializable;

/**
 * 后台角色菜单关系表实体类
 */
public class UmsRoleMenuRelation implements Serializable {
    private Long id;
    private Long roleId;    // 角色ID
    private Long menuId;    // 菜单ID

    private static final long serialVersionUID = 1L;

    // Getters and Setters
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    @Override
    public String toString() {
        return "UmsRoleMenuRelation{" +
                "id=" + id +
                ", roleId=" + roleId +
                ", menuId=" + menuId +
                '}';
    }
}